package test.designmode.delegate;

import java.util.Date;

/**
 * @author linshuo
 *
 * @brief Listener可以理解为slots
 */
public class PlayingGameListener {
    public PlayingGameListener() {
        System.out.println("我正在玩游戏 开始时间" + new Date());
    }

    public void stopPlayingGame(Date date) {
        System.out.println("老师来了，快回到座位上，结束时间" + date);
    }
}  
 